package cn.com.nes.mybatis.agent.ope.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("iot_mydev")
public class IotMyDev {
    @Override
    public String toString() {
        return "IotMyDev{" +
                "id=" + id +
                ", sbId='" + sbId + '\'' +
                ", dtuId='" + dtuId + '\'' +
                ", userId='" + userId + '\'' +
                ", devName='" + devName + '\'' +
                ", describe='" + describe + '\'' +
                ", imagepath='" + imagepath + '\'' +
                ", type='" + type + '\'' +
                ", fields='" + fields + '\'' +
                ", sceneIds='" + sceneIds + '\'' +
                ", sort=" + sort +
                '}';
    }

    @TableId(value = "id", type = IdType.AUTO)
    private int id;
    @TableField("sb_id")
    private String sbId;


    @TableField("dtu_id")
    private String dtuId;
    @TableField("userid")
    private String userId;
    @TableField("devName")
    private String devName;
    @TableField("describe")
    private String describe;
    @TableField("imagepath")
    private String imagepath;
    @TableField("type")
    private String type;
    @TableField("fields")
    private String fields;
    @TableField("sceneIds")
    private String sceneIds;
    @TableField("sort")
    private int sort;
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getSbId() {
        return sbId;
    }

    public void setSbId(String sbId) {
        this.sbId = sbId;
    }

    public String getDtuId() {
        return dtuId;
    }

    public void setDtuId(String dtuId) {
        this.dtuId = dtuId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getDevName() {
        return devName;
    }

    public void setDevName(String devName) {
        this.devName = devName;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public String getImagepath() {
        return imagepath;
    }

    public void setImagepath(String imagepath) {
        this.imagepath = imagepath;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getFields() {
        return fields;
    }

    public void setFields(String fields) {
        this.fields = fields;
    }

    public String getSceneIds() {
        return sceneIds;
    }

    public void setSceneIds(String sceneIds) {
        this.sceneIds = sceneIds;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }


}
